import com.xiao.dao.ResponseMessageMapper;
import com.xiao.service.ResponseMessageService;
import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class BangText {

    @Test
    public void text(){


        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        ResponseMessageMapper bean = (ResponseMessageMapper)context.getBean("responseMessageMapper");

        System.out.println(bean.queryConsultUser(1L));

    }
}
